﻿using System;

namespace AssemblyWithBeforeAfterInterceptor
{
    public static class PropertyNotificationInterceptor
    {
        public static void Intercept(object target, Action action, string propertyName, object before, object after)
        {
            action();
            InterceptCalled = true;
        }

        public static bool InterceptCalled { get; set; }
    }


}